#include "bsp_param.h"

sys_main_param_t sys_main_param = {
    .sys_status = SYS_IDLE,
    .sys_mode_type_buffer = {60*60,MODE_DLMS_1,POWER_0,POWER_1,POWER_2,POWER_1,POWER_2},
    .sys_pointer_index = MODE_TIME,
    .sys_vol_switch = MUSIC_VOICE2,
    .sys_countdown = 60 * 60,
    .sys_error_type = ERROR_TYPE_NO_ERROR,
    .ifappmqttconnect = MQTT_APP_DISCONNECT,
    .ifwificonnect = WIFI_DISCONNECT,
    .ifblufibleconnect = BLUFI_BLE_DISCONNECT,
};


send_param_t send_param = {
    .send_status = SYS_IDLE,
    .send_emode = MODE_DLMS_1,
    .send_este = POWER_0,
    .send_ehz = POWER_1,
    .send_mste = POWER_2,
    .send_mamp = POWER_1,
    .send_mhz = POWER_2,
    .send_vol = MUSIC_VOICE2,
    .send_music = MUSIC_OPEN,
    .send_runtime = 60*60,
    .send_countdown = 60*60,
    .send_error_type = ERROR_TYPE_NO_ERROR,
};

/* 缓存ota url */
char ota_firm_ver_url[100] = {0};
uint8_t ota_req_flag = OTA_IDLE;

void* Get_sys_param_pos()
{
    return &sys_main_param;
}

void* Get_send_param_pos()
{
    return &send_param;
}


















